package it.maggioni.sandbox.hibernate.dto;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

@Entity
public class UserDetails03 {
	
	@Id
	private int userId;
	private String userName;
	private Date joinedDate;
	@Temporal(TemporalType.DATE)
	private Date joinedDateWithoutTime;
	private String address;
	@Lob
	private String description;
	@Transient
	private String doNotSaveInDb;
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getJoinedDate() {
		return joinedDate;
	}
	public void setJoinedDate(Date joinedDate) {
		this.joinedDate = joinedDate;
	}
	public String getDoNotSaveInDb() {
		return doNotSaveInDb;
	}
	public void setDoNotSaveInDb(String doNotSaveInDb) {
		this.doNotSaveInDb = doNotSaveInDb;
	}
	public Date getJoinedDateWithoutTime() {
		return joinedDateWithoutTime;
	}
	public void setJoinedDateWithoutTime(Date joinedDateWithoutTime) {
		this.joinedDateWithoutTime = joinedDateWithoutTime;
	}

}
